package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ClueCustomer;
import com.ruoyi.system.domain.vo.ClueCustomerVO;

/**
 * 线索客户Mapper接口
 * 
 * @author luojiqiang
 * @date 2025-05-15
 */
public interface ClueCustomerMapper 
{
    /**
     * 查询线索客户
     * 
     * @param id 线索客户主键
     * @return 线索客户
     */
     ClueCustomer selectClueCustomerById(Long id);

    /**
     * 查询线索客户列表
     * 
     * @param clueCustomer 线索客户
     * @return 线索客户集合
     */
     List<ClueCustomerVO> selectClueCustomerList(ClueCustomer clueCustomer);

    /**
     * 新增线索客户
     * 
     * @param clueCustomer 线索客户
     * @return 结果
     */
     int insertClueCustomer(ClueCustomer clueCustomer);

    /**
     * 修改线索客户
     * 
     * @param clueCustomer 线索客户
     * @return 结果
     */
     int updateClueCustomer(ClueCustomer clueCustomer);

    /**
     * 删除线索客户
     * 
     * @param id 线索客户主键
     * @return 结果
     */
     int deleteClueCustomerById(Long id);

    /**
     * 批量删除线索客户
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
     int deleteClueCustomerByIds(Long[] ids);
}
